package priv.pfz.raft.peer.model;

import lombok.Getter;
import lombok.Setter;
import priv.pfz.raft.common.ToString;
import priv.pfz.raft.peer.RaftEventQueue;

/**
 * @author pengfangzhou
 * @date 2022/2/4 12:56
 */
@Getter
@Setter
public class OtherPeerInfo extends ToString {
    private String peerName;
    private LogKey maxLogKey;
    private Boolean voteGranted;
    private RaftEventQueue rpcQueue;
    //发出请求未收到响应时置为true
    private boolean connecting = false;
}
